Carbon


RemoveWindowProxy

Header: MacWindows.h Carbon status: Supported

Dissociates a file from a window.

OSStatus RemoveWindowProxy (
    WindowRef window
);
Parameter descriptions
window

A pointer to the window for which you wish to remove the associated file.

function result

A result code.

DISCUSSION

The RemoveWindowProxy function redraws the window title bar after removing all data associated with a given file, including the proxy icon, path menu, and file data.

SPECIAL CONSIDERATIONS

With Mac OS 8.5, you must save and restore the current graphics port—by calling the QuickDraw functions GetPort and SetPort—around each call to the RemoveWindowProxy function.

VERSION NOTES

This function is available with Mac OS 8.5 and later.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.5 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)